package cn.edu.nju.software.beans;

public class AccountBean {

	// account's properties
	private String aName;
	private String aPassword;
	private String aSId;

	// constructor
	public AccountBean() {
		aName = "";
		aPassword = "";
		aSId = "";
	}

	public AccountBean(String name, String password, String sid) {
		this.aName = name;
		this.aPassword = password;
		this.aSId = sid;
	}

	// setters
	public void setName(String name) {
		this.aName = name;
	}

	public void setPassword(String password) {
		this.aPassword = password;
	}

	public void setSid(String sid) {
		this.aSId = sid;
	}

	// getters
	public String getName() {
		return this.aName;
	}

	public String getPassword() {
		return this.aPassword;
	}

	public String getSid() {
		return this.aSId;
	}
}
